import Vue from "vue";
import Vuex from "vuex";

import indexModule from "./home";
import cityModule from "./city";
import detailModule from "./detail";

Vue.use(Vuex);
const store = new Vuex.Store({
  modules: {
    index: indexModule,
    detail: detailModule,
    city: cityModule
  }
});
export default store;